Module-level declarations
Types
Link copied to clipboard
struct ft3_asset_reward_info
Link copied to clipboard
entity goal_completion
Link copied to clipboard
struct original_asset_reward_info
Link copied to clipboard
entity quest_completion
Link copied to clipboard
entity quest_ft3_reward
Link copied to clipboard
struct quest_info
Link copied to clipboard
entity quest_original_reward
Link copied to clipboard
object quests_config
Link copied to clipboard
entity required_ft3_asset
Link copied to clipboard
struct required_ft3_info
Link copied to clipboard
entity required_interface_asset
Link copied to clipboard
Link copied to clipboard
entity required_original_asset
Link copied to clipboard
struct required_original_info
Link copied to clipboard
entity required_pre_quest
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
function create_quest(name: text, quest_id: text, provider_id: text, required_quests: list<text>, original_rewards: list<original_asset_reward_info>, ft3_rewards: list<ft3_asset_reward_info>, goals: list<goal_info>)
Link copied to clipboard
function create_required_assets(goal: goal, ft3: list<required_ft3_info>, original: list<required_original_info>, interface: list<required_interface_asset_info>)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
function update_quest(quest: quest, new_provider_id: text, new_required_quests: list<text>, new_original_rewards: list<original_asset_reward_info>, new_ft3_rewards: list<ft3_asset_reward_info>, new_goals: list<goal_info>)
Queries
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@mount("quests.get_player_quest_journal")
query get_player_quest_journal(account_id: byte_array): (completed: list<text>, inprogress: list<(quest_id: text, completed_index: integer)>)
Link copied to clipboard
Link copied to clipboard
Operations
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@mount("quests.add_required_pre_quest")
operation add_required_pre_quest(quest_id: text, required_pre_quest_id: text)
Link copied to clipboard
@mount("quests.create_or_update_quest")
operation create_or_update_quest(name: text, quest_id: text, provider_id: text, required_quests: list<text>, original_rewards: list<original_asset_reward_info>, ft3_rewards: list<ft3_asset_reward_info>, goals: list<goal_info>)
Link copied to clipboard
Link copied to clipboard
@mount("quests.delete_quest_goal_asset")
operation delete_quest_goal_asset(quest_id: text, goal_index: integer, asset_name: text, asset_type: text)
Link copied to clipboard
@mount("quests.delete_quest_reward")
operation delete_quest_reward(quest_id: text, reward_name: text, reward_asset_type: text)
Link copied to clipboard
@mount("quests.delete_required_pre_quest")
operation delete_required_pre_quest(quest_id: text, required_pre_quest_id: text)
Link copied to clipboard
@mount("quests.player_complete_goal")
operation player_complete_goal(quest_id: text, goal_index: integer, account_id: byte_array, auth_descriptor_id: byte_array)
Link copied to clipboard
@mount("quests.register_quest")
operation register_quest(name: text, quest_id: text, provider_id: text, required_quests: list<text>, original_rewards: list<original_asset_reward_info>, ft3_rewards: list<ft3_asset_reward_info>, goals: list<goal_info>)
Link copied to clipboard
@mount("quests.set_global_quest_parameters")
operation set_global_quest_parameters(enabled: boolean)
Link copied to clipboard
Link copied to clipboard
@mount("quests.update_quest_reward")
operation update_quest_reward(quest_id: text, reward_name: text, reward_asset_type: text, new_amount: integer)